package com.pos43.business.dao;

import java.util.List;

import com.pos43.domain.OrderItem;
import com.pos43.domain.Orders;
import com.pos43.domain.Product;


public interface IOrderItemDao {
	
	OrderItem get(Orders order, Product product);
	
	OrderItem get(Integer order_id, Integer product_id);
	
	Integer save(OrderItem orderItem);
	
	void update(OrderItem orderItem);
	
	void delete(OrderItem orderItem);
	
	void delete(Integer order_id, Integer product_id);
	
	List<OrderItem> findAll();
	
	List<OrderItem> findById(Integer id);
	
}
